package com.clkj.sunhelp.mvp.policyinfo.policyinfolist;

import com.clkj.sunhelp.bean.PolicyListItem;
import com.clkj.sunhelp.mvp.base.BasePresenter;
import com.clkj.sunhelp.mvp.base.BaseView;

import java.util.List;

/**
 * Created by Administrator on 2017/3/27.
 */

public class PolicyListContract {

    public interface View extends BaseView<Presenter> {

        void getPolicyList();

        void onGetPolicyListSuccess(List<PolicyListItem> policyList);

        void onGetPolicyListError(String tip);
    }

    public interface Presenter extends BasePresenter
    {
        void getPolicyList(String policyKind,String pageIndex,String pageSize);
    }

}
